package entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Category implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6405959398654917384L;
	
	private int id;
	private int turn;
	private String enName;
	private String name;
	private String description;
	private int parentId;
	private List<Category> catelist = new ArrayList<Category>(); //子类别列表
	private List<Book> pros = new ArrayList<Book>(); //类别下产品列表 
	private int pnum;
	
	public int getPnum() {
		return pnum;
	}
	public void setPnum(int pnum) {
		this.pnum = pnum;
	}
	public List<Category> getCatelist() {
		return catelist;
	}
	public void setCatelist(List<Category> catelist) {
		this.catelist = catelist;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getTurn() {
		return turn;
	}
	public void setTurn(int turn) {
		this.turn = turn;
	}
	public String getEnName() {
		return enName;
	}
	public void setEnName(String enName) {
		this.enName = enName;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public List<Book> getPros() {
		return pros;
	}
	public void setPros(List<Book> pros) {
		this.pros = pros;
	}
	
}
